package com.ruoyi.DataManage.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 高校名录管理对象 university
 *
 * @author CehnFneg
 * @date 2024-04-11
 */
public class University extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学校表的id */
    private Long id;

    /** 学校名称 */
    @Excel(name = "学校名称")
    private String name;

    /** 学校描述 */
    @Excel(name = "学校描述")
    private String description;

    /** 学校所在省份的id */
    @Excel(name = "学校所在省份的名称")
    private String provinceName;

    private Long provinceId;

    public Long getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Long provinceId) {
        this.provinceId = provinceId;
    }

    /** 门类管理信息 */
    private List<Category> categoryList;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setProvinceName(String provinceName)
    {
        this.provinceName = provinceName;
    }

    public String getProvinceName()
    {
        return provinceName;
    }

    public List<Category> getCategoryList()
    {
        return categoryList;
    }

    public void setCategoryList(List<Category> categoryList)
    {
        this.categoryList = categoryList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("description", getDescription())
                .append("provinceName", getProvinceName())
                .append("provinceId", getProvinceId())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("categoryList", getCategoryList())
                .toString();
    }
}
